import i18n from '@/language/index'

export const t = i18n.global.t

export default function ImageFeaturesModel(id = null, languageClassificationId = null, featuresName = null) {
    this.id = id;
    this.languageClassificationId = languageClassificationId;
    this.featuresName = featuresName;

    this.rules = {
        featuresName: [
            {required: true, message: t('menu.1'), trigger: 'blur'},
        ],
    }
}